package com.zx.mes.hyl.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zx.mes.hyl.entity.Admin;
import org.apache.ibatis.annotations.Select;

/**
 * demo Admin mapper接口
 * @author huayunlong
 * @date 2018-8-28
 */
@DS("demo")
public interface AdminMapper {

    /**
     *根据用户id获取一笔数据
     * @see Admin
     * @param id id
     * @return Admin
     */
    @Select("select * from Admin where id=#{id}")
    Admin getOne(String id);
}
